package com.jy.modules.cims.data.common.dao;

import java.util.List;
import java.util.Map;

import com.jy.modules.cims.data.common.dto.TCMmRefundPlanDTO;
import com.jy.modules.cims.data.dto.RefundPlanDTO;
import com.jy.platform.core.mybatis.MyBatisRepository;
/**
 * @classname: TCMmRefundPlanDao
 * @description: 定义  结算计划 持久层 接口
 * 通过@MapperScannerConfigurer扫描目录中的所有接口, 动态在Spring Context中生成实现.
 * 方法名称必须与Mapper.xml中保持一致.
 * @author:  zhiqiang
 */
@MyBatisRepository
public interface TCMmRefundPlanDao {
    
    /**
     * @author zhiqiang
     * @description: 分页查询结算计划
     * @date 2015-01-07 16:21:57
     * @param searchParams
     * @return
     */
    public List<TCMmRefundPlanDTO> searchTCMmRefundPlanByPaging(Map<String, Object> searchParams) ;
    
    
    /**
     * @author zhiqiang
     * @description:查询对象结算计划
     * @date 2015-01-07 16:21:57
     * @param searchParams
     * @return
     */
    public List<TCMmRefundPlanDTO> searchTCMmRefundPlan(Map<String,Object> searchParams);
    
    /**
     * @author zhoupeng
     * @description:查询对象还款计划  证大 
     * @date 2015-10-04 16:21:57
     * @param searchParams
     * @return
     */
    public List<TCMmRefundPlanDTO> searchfundPlanListByCreditandDate(Map<String,Object> searchParams);
    
    /**
     * @author zhoupeng
     * @description:查询对象还款计划  证大 分页
     * @date 2015-10-04 16:21:57
     * @param searchParams
     * @return
     */
    public List<TCMmRefundPlanDTO> searchfundPlanListByPaging(Map<String,Object> searchParams);

    /**
     * @author zhiqiang
     * @description:查询对象结算计划
     * @date 2015-01-07 16:21:57
     * @param id
     * @return
     */
    public TCMmRefundPlanDTO findTCMmRefundPlanByPrimaryKey(String id);
    
    /**
     * @author zhiqiang
     * @description: 新增对象结算计划
     * @date 2015-01-07 16:21:57
     * @param paramMap
     * @return
     */
    public int insertTCMmRefundPlan(Map<String, Object> paramMap);
    
    /**
     * @author zhiqiang
     * @description: 更新对象结算计划
     * @date 2015-01-07 16:21:57
     * @param paramMap
     */
    public void updateTCMmRefundPlan(Map<String, Object> paramMap);
     
    /**
     * @author zhiqiang
     * @description: 按主键删除结算计划
     * @date 2015-01-07 16:21:57
     * @param ids
     * @return
     */ 
    public void deleteTCMmRefundPlanByPrimaryKey(Map<String, Object> paramMap);
    
    
}
